home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / datatypes / clidt / makefile < prev    next >
Makefile  |  1996-04-07  |  2KB  |  87 lines

  1. #
  2. # $PROJECT: cli.datatype
  3. #
  4. # $VER: Makefile 39.1 (06.08.95)
  5. #
  6. # by
  7. #
  8. # Stefan Ruppert , Windthorststrasse 5 , 65439 Floersheim , GERMANY
  9. #
  10. # (C) Copyright 1995
  11. # All Rights Reserved !
  12. #
  13. # $DESCRIPTION:
  14. #
  15. # If you want to recompile the datatype you have to do some initial work, to
  16. # run this makefile !
  17. # First you must have installed the ixemul.library and the gnu make utility !
  18. # Second you have to set the VERSION,REVISION variables (In my environment it's
  19. # automatically set). After this you need a assign called objs: to hold all
  20. # Now you can run make from this directory !
  21. #
  22. # $HISTORY:
  23. #
  24. # 06.08.95 : 039.001 : initial
  25. #
  26.  
  27. VERSTR     = $(VERSION).$(REVISION)
  28. NAME       = cli
  29. SHNAME     = clidt
  30. SHORT      = V$(VERSTR) displays stdout of a cli-cmd (lha,tar,etc)
  31. PLACE      = util/dtype
  32. README     = Readme
  33.  
  34. RELEASE    = $(NAME)dt_$(VERSION).$(REVISION).lha
  35. RELEASEPAT = $(NAME)dt $(NAME)dt.info
  36.  
  37.  
  38. ##############################################################################
  39. #
  40. # just call the makefile in source for each cpu in CPUTOMAKE
  41. #
  42.  
  43. CPUTOMAKE = 000 \
  44.                 020
  45.  
  46. ##############################################################################
  47. #
  48. # docs and guides
  49. #
  50.  
  51. AUTODOCS = doc/$(NAME)_dtc.doc
  52. GUIDE    = help/$(NAME)_dtc
  53.  
  54. ##############################################################################
  55. #
  56. # source
  57. #
  58.  
  59. SRCS     = source/dispatch.c
  60.  
  61.  
  62. all:: cpuversions
  63.  
  64. cpuversions::
  65.     -@for i in $(CPUTOMAKE); \
  66.     do \
  67.         (cd source; echo "making 68$$i version of $(NAME).datatype"; \
  68.          make SCOPTIMIZE='OPT OPTTIME CPU=68'$$i \
  69.                 SLOPT='NOICONS VERBOSE SMALLDATA SMALLCODE NODEBUG' \
  70.                 OBJDIR='/objs/$(SHNAME)/rls'$$i \
  71.                 LIBSDEST='../classes/datatypes/$(NAME).datatype.'$$i \
  72.                 DEBUG='' ) ; \
  73.     done
  74.  
  75.  
  76. documentation:: $(AUTODOCS) $(GUIDE)
  77.  
  78. include misc/autodoc.mk
  79.  
  80. release: $(RELEASE)
  81.  
  82. include /gnu/local/share/gmk/release.mk
  83.  
  84. checkout:
  85.     (cd source; co -l Makefile; make checkout)
  86.  
  87.